WPStaging\Backup\Service\Archiver B

Total Complexity 84
Dependencies 23
Dependents 7
Total lines 666
Lines of code 341
Logical lines of code 237
Comment lines 159
Methods 27
Properties 13

Methods 27

Method Rating Maintainability Complexity Lines of code
addIndexPartSize()
A
43 14 49
addFileIndex()
A
40 13 57
addIndex()
A
47 9 35
appendFileToBackup()
A
46 8 36
renameBackup()
S
60 4 13
updateIndexInformationForAlreadyAddedIndex()
S
52 3 22
generateBackupMetadata()
S
56 3 19
createArchiveFile()
S
69 4 6
initiateDtoByFilePath()
S
66 4 8
appendToArchiveFile()
S
64 2 11
getFinalPath()
S
68 2 7
getFinalBackupParentDirectory()
S
71 2 6
getDelayForRetry()
S
68 2 7
__construct()
S
62 1 12
setupTmpBackupFile()
S
68 1 7
setIsLocalBackup()
S
81 1 3
getDto()
S
82 1 3
getBytesWrittenInThisRequest()
S
82 1 3
getTempBackupIndex()
S
82 1 3
getTempBackup()
S
82 1 3
getDestinationPath()
S
65 1 10
writeFileHeader()
S
72 1 5
setBackupMetadataCategoryInfo()
S
81 1 3
incrementFilesCount()
S
80 1 3
setIndexPositionCreated()
S
81 1 3
isIndexPositionCreated()
S
81 1 3
isBackupFormatV1()
S
76 1 4